package kgc.crm.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "kgm_crm_crm_sjztgl")
public class KgmCrmCrmSjztgl {
    /**
     * 状态内容关联商机的id
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 状态内容是否完成 0（未完成） 1(已完成)
     */
    @TableField(value = "zt_status")
    private Integer ztStatus;

    /**
     * 创建者id
     */
    @TableField(value = "createId")
    private Integer createid;

    /**
     * 关联商机的id
     */
    @TableField(value = "sj_id")
    private Integer sjId;

    /**
     * 关联状态内容的id
     */
    @TableField(value = "zt_id")
    private Integer ztId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    public static final String COL_ID = "id";

    public static final String COL_ZT_STATUS = "zt_status";

    public static final String COL_CREATEID = "createId";

    public static final String COL_SJ_ID = "sj_id";

    public static final String COL_ZT_ID = "zt_id";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_TIME = "update_time";
}